import http from '@/utils/http'
import type { LoginListParams, LoginListResponseData, LoginResultData } from '../types/Loginfo'

enum API {
    LoginTypes = '/api/log/landfall/select',
    LoginList = '/api/log/landfall/list'
}

// 登陆人信息列表
export const reqLoginTypes = () => http.get<any, LoginResultData>(API.LoginTypes)

// 登陆信息列表
export const reqLoginlist = (data:LoginListParams) => http.get<any, LoginListResponseData>(API.LoginList,{params:data})